//
//  Preferences.m
//  sffs
//
//  Created by Simon Fell on 3/5/08.
//  Copyright 2008 Simon Fell. All rights reserved.
//

#import "Preferences.h"

NSString *P_OPEN_FINDER			= @"openFinder";
NSString *P_DIR_CACHE_TIME		= @"DirCacheTime";
NSString *P_DATA_CACHE_TIME		= @"DataCacheTime";
NSString *P_DATA_CACHE_ITEMS	= @"DataCacheItems";

@implementation Preferences

+(void)addDefaults:(NSMutableDictionary *)prefs {
	[prefs setObject:[NSNumber numberWithBool:YES] forKey:P_OPEN_FINDER];
	[prefs setObject:[NSNumber numberWithInt:30]   forKey:P_DIR_CACHE_TIME];
	[prefs setObject:[NSNumber numberWithInt:30]   forKey:P_DATA_CACHE_TIME];
	[prefs setObject:[NSNumber numberWithInt:25]   forKey:P_DATA_CACHE_ITEMS];
}

@end
